﻿using System;

namespace CharType
{
    class Program
    {
        static void Main(string[] args)
        {
            char symbol1 = 'a';
            char symbol2 = 'b';

            /*
            int a = 123456789;
            int b = 0x75BCD15;

            if (a == b)
            {
                Console.WriteLine("{0:X}", a);
                Console.WriteLine(b);
            }
            */

            Console.WriteLine("90 - " + (char)90);
            Console.WriteLine((int)symbol1);
            Console.WriteLine((int)symbol2);
            Console.WriteLine(symbol1 + symbol2);

            Console.WriteLine("---------------------");

            for (int i = 0; i < 256; i++)
            {
                Console.WriteLine($"{i}\t{(char)i}");
            }

            string s = "Hello World";

            for (int i = 0; i < s.Length; i++)
            {
                Console.WriteLine((char)(s[i] + 15));
            }
        }
    }
}
